<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script language="JavaScript" src="scripts/ts_picker.js"></script>
<title>Leave Application Processing System</title>
<link href="styles/index.css" rel="stylesheet" type="text/css" />
</head>
<body class="twoColLiqLtHdr">
<div style="height: 119px; margin-left: 1px">
        <h1 style="text-align: center">
            Leave Application</h1><div id="sidebar1" style="width: 199px; height: 266px">
	<h2>Menu</h2>
	
	<p><a href="LeaveApplyJSP.jsp">Apply Leave</a></p>
	<p style="width: 202px; "><a href="PersonalLeaveHistory.jsp">View Personal Leave History</a></p>
	<p><a href="PersonalLeaveUpdate.jsp">Edit Leave(s)</a></p>
	
	<p><a href="LogoutServlet.jsp">Logout</a></p>
  	<!-- end #sidebar1 --></div>
        </div>
        <div style="margin-left: 248px; height: 379px; width: 496px;"><div>

<div id="container"> 
 <!-- ----------------------header------------------------------>
  <div id="header"><h1>Leave Application Processing System</h1>
            <p><h3>Hello, ${user.name }</h3></p>
  </div>
  
  <!-- ----------------------left #sidebar1 ------------------------------>

  
  <!-- ----------------------right ------------------------------>
  <div id="mainContent">
    <form action="LeaveApplicationServlet" method="GET">
    <table class="framed">
    <h1>Sorry, you just have <h2>${user.leftdays} days left</h2>  of leave application in this year. </h1>
    <p><input type ="submit" value = " Go back "></p>
</table>
  </form>
	<!-- end #mainContent --></div>
<br class="clearfloat" />
  
   <!-- ----------------------footer------------------------------>
  <div id="footer">
<p>Copyright @ Sa34-Team6 2011</p>
  <!-- end #footer --></div>
<!-- end #container --></div>
</div></div>
</body>
</html>
